lib/commit: Port final object writing function to new code style
authorColin Walters <walters@verbum.org>
Wed, 7 Jun 2017 17:42:15 +0000 (13:42 -0400)
committerAtomic Bot <atomic-devel@projectatomic.io>
Mon, 12 Jun 2017 14:24:22 +0000 (14:24 +0000)
commitaed8a6b09aecd5b71536148bae83bb29661c209c
treee1ab41541c54f89b4b4b62bc99531e4bd6aeb614
parent5de201df2601cc51603b7270a0c7341b748fd29c
lib/commit: Port final object writing function to new code style

I noticed my previous patches incorrectly started doing `return glnx_throw*`
inside a `goto out;` function. Fix this by porting forward consistently to new
style. We just do the error prefixing in the caller.

Closes: #914
Approved by: alexlarsson
src/libostree/ostree-repo-commit.c